services:
    factory: { class: FooBarClass, factory: baz:getClass}
    factory_with_static_call: { class: FooBarClass, factory: FooBacFactory::createFooBar}
    invokable_factory: { class: FooBarClass, factory: '@factory' }
